﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections;

namespace AutoUpdater
{
    public class AutoSell
    {

        private string symbol;
        private Int32 noOfshare;
        private float price;
        private string loginname;
        private Int32 userstockid;
        private string id;
        public AutoSell()
        {
        }
        public AutoSell(float p, Int32 noS, int usrsstkid,string idx)
        {
            //this.symbol = sym;
            this.price = p;
            this.noOfshare = noS;
            //this.loginname = username;
            this.userstockid = usrsstkid;
            this.id = idx;
        }
        public string getLogin()
        {
            return loginname;
        }
        public Int32 getShare()
        {
            return noOfshare;
        }
        public float getPrice()
        {
            return price;
        }
        public string getsymbol()
        {
            return symbol;
        }
        public Int32 getuserstockid()
        {
            return userstockid;
        }
        public string getID()
        {
            return id;
        }
        public void setSymbol(string sym)
        {
            this.symbol = sym;
        }


        public void setUsername(string p)
        {
            this.loginname = p;
        }
    }
}
